<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <title>订单详情</title>
</head>
<style>
    .freight_by_ladders tr.commodityInformations1:hover td{background: #ffb6c1 }
    .receiptalltableall td{width: 150px}
</style>
<body data-id="102">
<nav class="breadcrumb">订单管理 <span class="c-gray en">&gt;</span> 异常订单查询 <span class="c-gray en">&gt;</span> 订单详情<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
  <form class="ml-20 mr-20" id="form-member-add"  method="post">
    <div class="bg-1 bk-gray pd-20 mb-20">
      <div class="va-m lh-20 f-16 pb-15">
          <strong>订单状态：<span id="orderState"></span></strong>
          <span class="pl-5" id="customerCheck" style="display: none;">客户审核中</span>
         <!-- <span class="pl-5" id="customerServiceCheck"  style="display: none;">客服审核中</span>-->

          	  <!--<span class="pl-5" style="display: none;" id="orderCheckStatus">客户审核中</span>-->
          	  <!--<span class="pl-5" style="display: none;" id="orderSureStatus">客户确认中</span>-->
          <span class="powerButton 248"><a onclick="detailCancel()" id="detailCancel" class="btn radius  size-S ml-20 " style="display: none;">取消</a></span>
          <span class="powerButton 248"> <a onclick="passCheck()" id="pass" class="btn radius  size-S ml-20" style="display: none;">通过</a></span>
          <span class="powerButton 248"> <a onclick="demolitionOrderall()" id="demolitionOrder" class="btn radius  size-S ml-20" style="display: none;">拆单</a></span>
          <span class="powerButton 248"> <a onclick="deductionAmount()" id="deductionAmount" class="btn radius  size-S ml-20" style="display: none;">扣额度</a></span>
          <!--<input  class="btn  radius size-S" type="button" style="margin-right: 0;display: block;float: right" value="操作日志" onclick="operationlog()"/>-->
          <!--<span class="powerButton 248"> <a onclick="changeWarehouse()" id="changeWarehouse" class="btn radius  size-S ml-20" style="display: none">更改发货仓</a></span>-->
      </div>
      <table>
        <tr>
          <td class="col-4-1">订单号：<span id="orderId">1234567898765432345</span></td>
          <td class="col-4-1">下单时间：<span id="creatOrderTime">2017-12-12 23：23：34</span></td>
          <td class="col-4-2" colspan="2"></td>
          <td class="col-4-1" id="inquirynum" style="display: none">询价单号：<span id="inquiry_num"></span></td>
        </tr>
        <tr  class="orderRemark">
          <td class="col-1-1 pt-15" colspan="3"><span class="f-l">订单备注：</span>
          <div class="formControls col-xs-8 col-sm-9 f-l">
            <textarea name="remarkVal" class="textarea radius" id="remarkVal" placeholder="请输入备注信息" readonly maxlength="500"></textarea>
          </div>
          <div id="isSaveFalse" class="mt-50 pt-20 f-l powerButton 493" onclick="toEdit()"><a class="mr-20">编辑</a></div>
          <div id="isSaveTrue" style="display:none" class="mt-50 pt-20 f-l"><a onclick="remarkToSave()" class="mr-20">保存</a><a onclick="toCancle()" class="mr-20">取消</a></div>
          </td>
        </tr>
      </table>
    </div>
      <div class="bg-1 bk-gray pd-20 mb-20" style="display: none"  id="Customeraudit">
          <div class="va-m lh-20 f-14 pb-15">
              <strong>客户内部审核状态</strong>
          </div>
          <div class="xian"></div>
          <div class="pd-20 mb-20">

              <table class="table table-border table-bordered table-hover table-bg table-sort mt-10" id="dataltable">
                  <thead>
                  <tr >
                      <th>下单账号</th>
                      <th>手机号</th>
                      <th>审核账号</th>
                      <th>手机号</th>
                      <th>顺序</th>
                      <th>审核状态</th>
                      <th>审核时间</th>
                      <th>结算账号</th>
                      <th>手机号</th>
                      <th>结算时间</th>
                  </tr>
                  </thead>
                  <tbody class="toexamine">
                  </tbody>
              </table>
          </div>
      </div>
    <div class="bg-1 bk-gray pd-20 mb-20">
      <div class="va-m lh-20 f-14 pb-15">
          <strong>基本信息</strong><a id="detail_statue" class="btn radius  size-S ml-20" style="" onclick='bstart()'>客户状态查询</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="start1"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="start2"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="start3"></span>
      </div>
      <div class="line"></div>
      <div class="pd-20 mb-20">
          <table>
              <tr>
                  <td class="col-4-l"><span class="f-l">客户名称：</span><span id="buyer-name">中铁六局</span></td>
                  <td class="col-4-1"><span class="f-l">下单账号：</span><span id="created-order-code">91000000</span></td>
                  <td class="col-4-1"><span class="f-l">收货地址：</span><span id="receiver-address">家用电线电缆BV系列</span></td>
              </tr>
              <tr>
                  <td class="col-4-1" style="position:relative;"><span class="f-l" >收货人：</span><span id="consignee" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;width:39px;display:inline-block;"></span>
                      <div id="mouseBox" style="position:absolute;left: 50px;top:20px; background: #fff;padding:10px;border:1px solid #ccc;display:none;"></div>
                  </td>
                  <td class="col-4-1" style="position:relative;"><span class="f-l" >联系方式：</span><span id="contact-way" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;width:51px;display:inline-block;"></span>
                      <div id="mouseBoxTwo" style="position:absolute;left: 50px;top:20px; background: #fff;padding:10px;border:1px solid #ccc;display:none;"></div>
                  </td>
                  <td class="col-4-1" colspan="3"><span class="f-l">销售经理：</span><span id="sales-manager">红色</span></td>
              </tr>
              <tr>
                  <td class="col-4-l"><span class="f-l">经纬度：</span><span id="lng"></span> <a id="rebuilds" onclick="rebuilds()" >重新生成经纬度</a></td>
              </tr>
          </table>
      </div>

      <div class="va-m lh-20 f-14 pb-15">
          <strong>支付与配送信息</strong>
      </div>
      <div class="line"></div>
      <div class="pd-20 mb-20">
          <table>
              <tr>
                  <td class="col-4-1">支付方式：<span id="pay-type"></span></td>
              </tr>
              <tr>
                  <td class="col-4-1">订单类别：<span class="noteditInformation" id="order_big_type"></span><a id="modifyordercategory" onclick="modifyordercategory()">修改</a>
                  <select class="select editInformation" onchange="loadingdata(1)"  style="height:22px;width: 80px;display: none" id="orderCategory" size="1" >
                      <option value="10">物流配送</option>
                      <option value="20">店面开票</option>
                  </select>
                      <a class="ml-10 preservationdatas" style="display: none" onclick="preservationdatas(1)">保存</a><a class="ml-10 preservationdatas" style="display: none" onclick="preservationdatas(2)">取消</a>
                  </td>
                  <td class="col-3-1 shippingfees">原运费：<span id="shippingfee">0</span><span>元</span></td>
                  <td class="col-5-3" id="selftakein" style="display: none">自提时间：<span id="self_take_in"></span>&nbsp;<a  id="selfraisingtime" style="display: none" onclick="estimate()">修改</a></td>
              </tr>
              <tr>
                  <td class="col-4-1 ">发货仓：<span class="noteditInformation" id="warehouse_id"></span>
                      <select class="select editInformation" onchange="loadingdata(2)" style="height:22px;width: 80px;display: none"id="deliverywarehouses" size="1" >

                      </select>
                      <span id="specifyProvinceCode" style="display: none">&nbsp;</span>
                  </td>
                  <td class="col-3-1 shippingfees">实际运费：<span id="couponrealvalue"></span></td>
                  <td class="col-3-2" id="selftakeshop" style="display: none">自提点：<span id="self_take_shop"></span></td>
              </tr>
              <tr style="display: none;" class="earliestDeliveryTime">
                  <td>最早送货时间：<span id="earliestDeliveryTime"></span></td>
              </tr>
              <tr>
                  <td class="col-4-1">订单类型：<span class="noteditInformation" id="common_order_type"></span>
                      <select class="select editInformation" onchange="loadingdata(3)"  style="height:22px;width: 80px;display: none"id="ordertype" size="1" >

                      </select>
                      <a  class="btn radius size-S mr-10"  onclick="receiptall('关联接货单','purchaseOrder.html')" style="display: none" id="receipts">关联接货单</a>
                      <span id="receivings" style="display: none">接货单号：<span id="relationbillNo"></span></span>
                  </td>
                  <td class="col-2-1" id="predixttime">预计送达时间：<span id="predixt-delivery-time"></span><a  id="estimate" style="display: none" onclick="estimate()">修改</a></td>
                  <td class="col-4-3" id="receiverdetailaddress" style="display: none">自提点地址：<span id="receiver_detail_address"></span></td>
              </tr>
              <tr>
                  <td class="col-4-1 ">配送方式：<span class="noteditInformation"  id="sent_type"></span>
                      <select class="select editInformation"  style="height:22px;width: 80px;display: none"id="deliverymode" size="1" >

                      </select>
                  </td>
                  <td class="col-2-1" id="wanna_edin">期望送达时间：<span id="wanna_arrived_in"></span></td>
                  <td class="col-3-2" id="selftakephone"  style="display: none">自提点联系方式：<span id="self_take_phone"></span></td>
              </tr>
     			<tr>
                  <td class="col-3-1">客户配送要求：<span id="deliveryTimeType"></span></td>
              </tr>

          </table>
      </div>

      <!--<div class="va-m lh-20 f-14 pb-15">
          <strong>发票信息</strong>
      </div>
      <div class="line"></div>
      <div class="pd-20 mb-20">
          <table>
              <tr>
                  <td class="col-4-1">发票类型：<span id="invoice-type">91000000</span></td>
                  <td class="col-4-1">发票抬头：<span id="invoice-title">91000000</span></td>
                  <td class="col-4-1">发票内容：<span id="invoice-content">家用电线电缆BV系列</span></td>
              </tr>
          </table>
      </div>-->

      <div class="va-m lh-20 f-14 pb-15">
          <strong>优惠券信息</strong>
      </div>
      <div class="line"></div>
      <div class="pd-20 mb-20">
          <table>
              <tr>
                  <td class="col-4-1" colspan="3" id="couponInfo11" style="display: none">满减券：<span id="couponInfo">满100.00元减10.00元</span></td>
                  <td class="col-4-1" colspan="3" id="couponInfsfo11" style="display: none">运费券：<span id="couponInfsfo"></span></td>
              </tr>
          </table>
      </div>
      <div class="va-m lh-20 f-14 pb-15">
          <strong>商品信息</strong>
      </div>
      <div class="pd-20 mb-20">
          <tr >
              <td >最长边: <span id="longestside"></span></td>
              <td >体积: <span id="volume"></span></td>
              <td >重量: <span id="weight"></span></td>
              <td><a onclick="refreshStock(2)"  class="btn radius size-S mr-10">刷新-可用库存</a></td>
          </tr>
          <table class="table table-border table-bordered table-hover table-bg table-sort mt-10" id="datatable">
              <thead>
              <tr class="text-c">
                  <th style="width: 300px;">商品</th>
                  <th>发货仓</th>
                  <th>购买数量</th>
                  <th>可用库存</th>
                  <th>单价</th>
                  <th>满减券分摊</th>
                  <th>运费分摊</th>
                  <th>促销分摊</th>
                  <th>积分分摊</th>
                  <th>小计</th>
                  <th>异常原因</th>
              </tr>
              </thead>
              <tbody class="shun">
              </tbody>
          </table>
      </div>
        <div class="text-r pd-20">
            <p>商品金额：&yen;<span id="goodsAmount"></span></p>
            <p>运&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;费：&yen;<span id="fare"></span></p>
            <p>运费减免：&yen;<span id="littleFare"></span></p>
            <p>优&nbsp;惠&nbsp;&nbsp;券：&yen;<span id="conMoney"></span></p>
            <p>促销立减：&yen;<span id="cuxiao"></span></p>
            <p>积分抵扣：&yen;<span id="integral"></span></p>
            <p>订单总金额：&yen;<span id="orderAmount"></span></p>
        </div>
    </div>
  </form>
    <!--信息-->
    <div id="confirmCollection" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture" style="border-radius: 8px;margin-left: -260px;">
        <div class="modal-dialog" style="top:50%;margin-top:-400px">
            <div class="modal-content radius" style="height:357px;width:666px;">
                <div class="modal-header"  style="height: 22px;">
                    <h3 class="modal-title text-c" style="float: left;">
                        提示：无法当天自提商品,请及时联系客服</h3>
                    <a class="close" style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px" data-dismiss="modal" aria-hidden="true" >×</a>
                </div>
                <div class="" style="overflow-y: auto;max-height: 245px;height: 245px">
                    <table class="table table-border  table-hover table-bg table-sort mt-10" id="confirmCollectiontable">
                        <thead>

                        </thead>
                        <tbody class="freight_by_ladders">
                        </tbody>
                    </table>
                </div>
                <div class="text-c" style="padding-top: 2%;position: inherit;">
                    <a onclick="closeconfirmCollection()" class="btn radius size-S mr-10">我再想想</a>
                    <a onclick="operationconfirmCollection()" class="btn radius size-S ">正常下推</a>
                </div>
            </div>
        </div>
    </div>
    <div id="changedeliveryWarehouse" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture" style="border-radius: 8px;margin-left: -260px;">
        <div class="modal-dialog" style="top:50%;margin-top:-400px">
            <div class="modal-content radius" style="height:357px;width:666px;">
                <div class="modal-header"  style="height: 22px;">

                    <a class="close" style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px" data-dismiss="modal" aria-hidden="true" >×</a>
                </div>
                <div class="" style="overflow-y: auto;max-height: 245px;height: 245px">
                     <span class="modal-title text-c ml-10" >
                    以下商品在新旧发货仓中售价不一致，更改发货仓会导致这些商品的订单价格与实际价格不一致，是否确定更改</span>
                    <table class="table table-border  table-hover table-bg table-sort mt-10" id="changedeliveryWarehousetable">
                        <thead>
                        <tr class="text-c">
                            <th width="315">商品</th>
                            <th width="115">购买数量</th>
                            <th width="70" id="warehouseName"></th>
                            <th width="70" id="newWarehouseName"></th>
                        </tr>
                        </thead>
                        <tbody class="freight_by_ladders">
                        </tbody>
                    </table>
                </div>
                <div class="text-c" style="padding-top: 2%;position: inherit;">
                    <a onclick="closeconfirmCollectison()" class="btn radius size-S mr-10">暂不更改</a>
                    <a onclick="modifyAbnormalOrderInfo()" class="btn btn-secondary radius size-S ">确定更改</a>
                </div>
            </div>
        </div>
    </div>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../../ht-js/order/abnormalOrder-info.js?rev=@@hash"></script>
<script src="../../../ht-js/dynamicWarehouse.js?rev=@@hash"></script>
<script src="../../../ht-js/warehouse.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
<script>
    //接货单号
    function relationbillNo() {
        $("#receivings").css({
            display: "inline"
        });
        $("#relationbillNo").html(sessionStorage.getItem("relationbillNo"))
    }
</script>
</body>
</html>